{extend name="Public:public_template" /}
{block name="container"}
<div class="main-container">
    <div class="current-location">
        {include file="public/current_location" /}
    </div>
    <div class="content-container">
       <form action="" method="post">
           <input type="hidden" name="__token__" value="{$Request.token}" />
           <input type="hidden" name="where[admin_group_id]" value="{$findService['admin_group_id']}" />
           <input type="hidden" name="REFERER" value="{$REFERER}" />
           <table cellpadding="0" cellspacing="0">
               <tr>
                   <td class="td-width-15">权限名称：</td>
                   <td class="text-align"><input type="text" name="info[name]" value="{$findService['name']}" placeholder="请输入权限名称"/><span class="red">*</span></td>
               </tr>
               <tr>
                   <td class="td-width-15">权限描述：</td>
                   <td class="text-align">
                       <textarea name="info[describe]" placeholder="请输入权限描述">{$findService['describe']}</textarea>
                   </td>
               </tr>
               <tr>
                   <td class="td-width-15">权限节点：</td>
                   <td class="text-align">
                       {if condition="$admin_group_id eq $default_group_id"}
                            全部权限
                       {else /}
                            <div class="group-tree">{$groupList}</div>
                       {/if}
                   </td>
               </tr>
           </table>
           <div class="submit-button-form">
               <input type="submit" name="submit" value="提交数据">
           </div>
       </form>
    </div>
</div>
{/block}